package com.zqc.bean;

import com.zqc.service.ServiceInterface;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

/**
 * 服务接口组件
 */
@Component
public class ServiceComponent {
    @Reference
    private ServiceInterface serviceInterface;

    public String methodA() {
        return serviceInterface.methodA();
    }

    public String methodB() {
        return serviceInterface.methodB();
    }

    public String methodC() {
        return serviceInterface.methodC();
    }
}
